package com.doit.demo03;

import java.io.*;

public class demo02_outputstreamwriter {
    public static void main(String[] args) throws IOException {
        OutputStreamWriter out = new OutputStreamWriter(new FileOutputStream("d:\\work\\编码\\编码GBK.txt", true),"GBK");
        out.write("\r\n");
        out.write("唐.李白");
        out.close();

    }
}
